package cn.topcodes.tcsf.admin.jms;

import cn.topcode.unicorn.utils.dist.DistEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * Created by Unicorn on 2018/5/28.
 */
@Component
public class StdDistEventListener implements ApplicationListener<DistEvent> {

    @Override
    public void onApplicationEvent(DistEvent event) {
        System.out.println(event);
    }
}
